package com.talkweb.platform.commonapi.entity.db;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@Entity
@Table(name = "BPM_ModSubProcessList")
@ApiModel(value = "ModSubProcessList", description = "流程节点_子流程")
public class ModSubProcessList implements Serializable {
	
	@Id
	@Column(name = "WF_OrUnid")
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "SELECT REPLACE(UUID(),'-','')")
	private String orUnid;

	@Column(name = "processId")
	@ApiModelProperty(value = "流程id", required = false)
    private String processId;

	@Column(name = "nodeId")
	@ApiModelProperty(value = "节点id", required = false)
    private String nodeId;

	@Column(name = "nodeType")
	@ApiModelProperty(value = "节点类型", required = false)
    private String nodeType;

	@Column(name = "extNodeType")
	@ApiModelProperty(value = "节点扩展类型", required = false)
    private String extNodeType;

	@Column(name = "nodeName")
	@ApiModelProperty(value = "节点名称", required = false)
    private String nodeName;

	@Column(name = "exceedTime")
	@ApiModelProperty(value = "", required = false)
    private String exceedTime;

	@Column(name = "subProcessId")
	@ApiModelProperty(value = "", required = false)
    private String subProcessId;

	@Column(name = "subProcessType")
	@ApiModelProperty(value = "", required = false)
    private String subProcessType;

	@Column(name = "xmlData")
	@ApiModelProperty(value = "", required = false)
    private String xmlData;

    private static final long serialVersionUID = 1L;
}